namespace RBAC.Write.Api.Application.Command.ERP.InboundManagement
{
    using MediatR;
    using RBAC.Domain.Dto.Output;
    using RBAC.ErrorCode;
    using RBAC.Write.Api.Application.Dto.ERP;

    public class UpdatePurchaseStorageCommand : IRequest<APIResult<bool>>
    {
        /// <summary>
        /// 采购入库主表ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 要更新的主表与明细数据（不包含编码，编码由服务端维护）
        /// </summary>
        public PurchaseStorageCreateOrUpdateDto? Data { get; set; }
    }
}
